public class Main4 {
    public static void main(String[] args) {
        StudentObject zhangsan = new StudentObject();
        zhangsan.name= "张三";
        zhangsan.age = 18;
        zhangsan.study("数学", zhangsan.name);
        zhangsan.sport("篮球",zhangsan.name);
        zhangsan.speak("balabala", zhangsan.name);

        StudentObject wang = new StudentObject();
        wang.name= "王五";
        wang.age = 18;
        wang.study("英语", wang.name);
        wang.sport("足球",wang.name);
        wang.speak("我爱学习", wang.name);
    }
}
